<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp"%>
<%@ include file="/commons/tabs.jsp"%>
<%@ include file="/commons/dateTime.jsp" %>
<%@ include file="/commons/validation.jsp"%>
<html>
<head>
<title>手续审核—客服经理</title>

<script>
/**
 *格式化退伙日期
 */
<fmt:formatDate pattern="yyyy-MM-dd" var="outDate" value="${goOut.outDate}" />
  /**
   * 功能描述： 提交表单
   */
  function submitForm(){
		$('goOutExamineForm').mySubmit.click();
  }
</script>
</head>

<body onload="">
  <form id="goOutExamineForm" name="goOutExamineForm" method="post" action="${ctx}/house_proRightModificationAction.do?method=goOutAudit&type=001" class="required-validate">
  <input type="submit" id="mySubmit" style="display:none" />
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td class="window_head_outBg"><table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><img src="${ctx }/images/ico_Advance.gif" width="16" height="16" align="absmiddle"> <span class="window_head_intext">${key.goOutAuditing }</span></td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td class="aux_header_line_1"></td>
    </tr>
    <tr>
      <td class="aux_header_line_2"></td>
    </tr>
    <tr>
      <td valign="middle" class="content">

	  <div  style="height:410px;overflow:auto;">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="container_in_show">
        <tr>
          <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="tab_subMenu1">
            <tr>
              <td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
                <tr>
                  <td><table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color">
                    <tr>
                      <td colspan="4" class="aux_titletable">${key.proposer }</td>
                    </tr>
                    <tr>
                      <td class="aux_intable_td1">${key.houseNumber }：
                       <input type="hidden" name="currentDate" id="currentDate" value="${currentDate }" />
                       <input type="hidden" name="goOutId" id="keyword" value="${goOut.keyword }" />
                       <input type="hidden" name="userId" id="userId" value="${goOut.outCheckerId }" />
                      </td>
                      <td class="aux_intable_td2">${goOut.houseNumber }</td>
                      <td class="aux_intable_td1">${key.outDate }：
                      <input type="hidden" name="outDate" id="outDate" value="${outDate }" />
                      </td>
                      <td class="aux_intable_td2">${outDate }</td>
                    </tr>
                    <tr>
                      <td class="aux_intable_td1">${key.clients }：</td>
                      <td class="aux_intable_td2">${goOut.clients }</td>
                      <td class="aux_intable_td1">&nbsp;</td>
                      <td class="aux_intable_td2">&nbsp;</td>
                    </tr>
                    <tr>
                      <td colspan="4" class="aux_titletable">${key.lastMeterReadingData }</td>
                    </tr>
                    <tr>
                      <td class="aux_intable_td1">${key.copyMeterWaterPreReading }：</td>
                      <td class="aux_intable_td2">
                      <c:if test="${goOut.copyMeterWaterPreReading != null }">
                      	<fmt:formatNumber  value="${goOut.copyMeterWaterPreReading }" pattern="##0.00"/> ${key.cube }</c:if></td>
                      <td class="aux_intable_td1">${key.copyMeterAmmeterPreReading }：</td>
                      <td class="aux_intable_td2">
                      <c:if test="${goOut.copyMeterAmmeterPreReading != null }">
                     	<fmt:formatNumber  value=" ${goOut.copyMeterAmmeterPreReading }" pattern="##0.00"/> ${key.degree }</c:if></td>
                    </tr>
                    <tr>
                      <td colspan="4" class="aux_titletable"> ${key.theMeterReadingData }</td>
                    </tr>
                    <tbody colspan="4" width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color" id="table01" style="display:show">
                      <tr>
                        <td class="aux_intable_td1">${key.copyMeterWaterPreReading }：</td>
                        <td class="aux_intable_td2">
                        <c:if test="${goOut.copyMeterWaterReading != null }">
                       		<fmt:formatNumber  value="${goOut.copyMeterWaterReading }" pattern="##0.00"/>  ${key.cube }</c:if></td>
                        <td class="aux_intable_td1">${key.copyMeterAmmeterPreReading }：</td>
                        <td class="aux_intable_td2">
                        <c:if test="${goOut.copyMeterAmmeterReading != null}">
                        	<fmt:formatNumber  value="${goOut.copyMeterAmmeterReading }" pattern="##0.00"/> ${key.degree }</c:if></td>
                      </tr>
                      <tr>
                        <td class="aux_intable_td1">${key.copyTime }：</td>
                        <td class="aux_intable_td2"><fmt:formatDate pattern="yyyy-MM-dd" value="${goOut.copyTime }" /></td>
                        <td class="aux_intable_td1">截止缴费日期：</td>
                        <td class="aux_intable_td2"><fmt:formatDate pattern="yyyy-MM-dd" value="${goOut.endPayDate }"/></td>
                      </tr>
                      <tr>
                        <td class="aux_intable_td1">${key.copyMeterReasonName }：</td>
                        <td class="aux_intable_td2">${goOut.copyMeterReasonName }</td>
                        <td class="aux_intable_td1">${key.copyMeterReasonDesc }：</td>
                        <td class="aux_intable_td2">${goOut.copyMeterReasonDesc }</td>
                      </tr>
                    </tbody>
                    <tr>
                      <td colspan="4" class="aux_titletable"> ${key.inspectionHousing }&nbsp;</td>
                    </tr>
                    <tbody colspan="4" width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color" id="tb03" style="display:show">
                      <tr>
                        <td valign="top" class="aux_intable_td1">${key.houseDesc }：</td>
                        <td colspan="3" valign="top" class="aux_intable_td2">${goOut.houseDesc }</td>
                      </tr>
                      <tr>
                        <td class="aux_intable_td1">${key.checker }：</td>
                        <td class="aux_intable_td2">${goOut.checker }</td>
                        <td class="aux_intable_td1">${key.checkDate }：</td>
                        <td class="aux_intable_td2"><fmt:formatDate pattern="yyyy-MM-dd" value="${goOut.checkDate }" /></td>
                      </tr>
                      <tr>
                        <td class="aux_intable_td1">${key.copyMeterReasonName }：</td>
                        <td class="aux_intable_td2">${goOut.checkReasonName }</td>
                        <td class="aux_intable_td1">${key.copyMeterReasonDesc }：</td>
                        <td class="aux_intable_td2">${goOut.checkReasonDesc }</td>
                      </tr>
                    </tbody>
                    <tr>
                      <td colspan="4" class="aux_titletable"> ${key.goods }&nbsp;</td>
                    </tr>
                    <tbody colspan="4" width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color" id="tab05" style="display:show">
                      <tr>
                        <td class="aux_intable_td1">${key.goods }：</td>
                        <td class="aux_intable_td2">${goOut.goods }</td>
                        <td class="aux_intable_td1">${key.handoverDate }：</td>
                        <td class="aux_intable_td2"><fmt:formatDate pattern="yyyy-MM-dd" value="${goOut.handoverDate }" /></td>
                      </tr>
                      <tr>
                        <td class="aux_intable_td1">${key.copyMeterReasonName }：</td>
                        <td class="aux_intable_td2">${goOut.handoverReasonName }</td>
                        <td class="aux_intable_td1">${key.copyMeterReasonDesc }：</td>
                        <td class="aux_intable_td2">${goOut.handoverReasonDesc }</td>
                      </tr>
                    </tbody>
                       <tr>
                        <td colspan="4" class="aux_titletable">${key.goOutAuditing }</td>
                        </tr>
					   <tr>
					     <td class="aux_intable_td1">&nbsp;</td>
					     <td colspan="3" class="aux_intable_require">
					     <input name="examineActionCode" id="examineActionCode1" type="radio" value="001" checked/>${key.pass }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                          <input name="examineActionCode" id="examineActionCode2" type="radio" value="002">${key.noPass }</td>
					     </tr>
					   <tr>
					     <td valign="top" class="aux_intable_td1">${key.notion }：</td>
					     <td colspan="3" class="aux_intable_require_more">
					       <textarea name="notion" cols="32" rows="4" onKeyDown='if (this.value.length>=80 && event.keyCode != 8 && event.keyCode != 46){event.returnValue=false}' class="required"></textarea>					    </td>
					     </tr>
					   <tr>
                        <td class="aux_intable_td1">${key.examineDate }：</td>
                        <td colspan="3" class="aux_intable_require"><table border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td ><input name="examineDate" id="examineDate" type="text" class="required validate-date less-equals-than-currentDate great-equals-than-outDate" value="${currentDate }" size="16" validateMessageLessEquals="${key.greatCurrentDateMessage}"  validateMessageGreatEquals="${key.lessOutDateMessage} ${outDate } !" ></td>
                            <td width="4">&nbsp;</td>
                            <td ><img src="${ctx }/images/ico_clock_month.gif" id="imgExamineDate" width="20" height="20"></td>
                          </tr>
                        </table></td>
                        </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      </table>
      </div>

	  </td>
    </tr>
    <tr>
      <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td class="buttonOffLeft" id="btn1_81"></td>
                <td class="buttonOffMiddle" id="btn1_82" onClick="submitForm();" onMouseOver="btn_change_over(8)" onMouseOut="btn_change_out(8)" onblur="btn_change(8)"><img src="${ctx }/images/ico_ok.gif" alt="" width="14" height="14" border="0" align="absbottom">提交</td>
                <td class="buttonOffRight" id="btn1_83"></td>
              </tr>
          </table></td>
          <td class="btn_between_space"></td>
          <td><table border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td class="buttonOffLeft" id="btn1_71"></td>
                <td class="buttonOffMiddle" id="btn1_72" onClick="windowClose();" onMouseOver="btn_change_over(7)" onMouseOut="btn_change_out(7)" onblur="btn_change(7)"><img src="${ctx }/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom"> 关 闭</td>
                <td class="buttonOffRight" id="btn1_73"></td>
              </tr>
          </table></td>
        </tr>
      </table></td>
    </tr>
  </table>
  </form>
 <script type="text/javascript">
     Calendar.setup(
              {
	              inputField : "examineDate", // ID of the input field
	              ifFormat : "%Y-%m-%d", // the date format
	              button : "imgExamineDate", // ID of the button
	             // align          :    "Tl",           // alignment (defaults to "Bl")
			      singleClick    :    true
              }
              );
 </script>
</body>
</html>